package com.leoren.run.vo.apiVo;

import java.util.ArrayList;

/**
 * @ClassName ViaCity
 * @Auther Leoren
 * @Date 2020/1/28 10:55
 * @Desc :
 * @Version v1.0
 **/

public class ViaCity {

    private String name;
    private String citycode;
    private String adcode;
    private ArrayList<District> districts;

    @Override
    public String toString() {
        return "ViaCity{" +
                "name='" + name + '\'' +
                ", citycode='" + citycode + '\'' +
                ", adcode='" + adcode + '\'' +
                ", districts=" + districts +
                '}';
    }

    public ViaCity() {
    }

    public ViaCity(String name, String citycode, String adcode, ArrayList<District> districts) {
        this.name = name;
        this.citycode = citycode;
        this.adcode = adcode;
        this.districts = districts;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCitycode() {
        return citycode;
    }

    public void setCitycode(String citycode) {
        this.citycode = citycode;
    }

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode;
    }

    public ArrayList<District> getDistricts() {
        return districts;
    }

    public void setDistricts(ArrayList<District> districts) {
        this.districts = districts;
    }
}
